#region Microsoft Public License
/*
 * (c) Copyright Chenjun Wu. http://utablesdk.codeplex.com
 * 
 * This source is subject to the Microsoft Public License (Ms-PL).
 * Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
 * All other rights reserved.
 */
#endregion

﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace UTable.Input.MultiTouch
{
	/// <summary>
	/// This struct record the current position of the finger
	/// </summary>
	public class FingerPoint
	{
		public FingerPoint(int id, Point position, int index)
		{
			this.ID = id;
			this.Position = position;
			this.Index = index;
		}
		/// <summary>
		/// The ID of this finger
		/// </summary>
		public int ID;
		/// <summary>
		/// The position of this finger relative to the parent container of this UElement
		/// </summary>
		public Point Position;

		/// <summary>
		/// The index of this finger in current fingers on the UElement
		/// </summary>
		public int Index;
	}
}
